<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
</h:head>
<h:body style="background:#2A2D30;">
<p:layout fullPage="true" style="alignment-adjust: middle">  
  
    <p:layoutUnit position="north" size="100" header="DREAM TRAVEL AGANCY!" resizable="true" closable="false" collapsible="false"/>  
  
    <p:layoutUnit position="south"  header="" size="120" >  
 
        <h:link outcome="user/index?user=true" value="Login/Register" />
 <br></br><p:separator/>
	<h:link outcome="admin/index?admin=true?" value="To the admin section" style="text-align:right;" /> 
	
  </p:layoutUnit>  
  
    <p:layoutUnit position="west" size="525" resizable="false" closable="false" collapsible="false">
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
     <br/>
      <p:separator/>
<p:imageSwitch effect="shuffle">  
    <ui:repeat value="#{sidepics.images}" var="image">  
        <p:graphicImage value="/images/sidepics/#{image}" />  
    </ui:repeat>  
</p:imageSwitch>
    <p:separator/>

    </p:layoutUnit>  
  
    <p:layoutUnit position="east" size="525" >
       <br/>
    <br/>
    <br/>
    <br/>
    <br/>
     <br/>
    <p:separator/>
<p:imageSwitch effect="shuffle">  
    <ui:repeat value="#{sidepics.images}" var="image">  
        <p:graphicImage value="/images/sidepics/#{image}" />  
    </ui:repeat>  
</p:imageSwitch>
    <p:separator/>

    </p:layoutUnit>    
         <p:layoutUnit position="center" size="400" >  
       
 <h:form id="form">
<br></br>
  
    <p:growl id="msgs" showDetail="true"/>
			
        <h:panelGrid columns="2" cellpadding="5"  >
        <h:outputText value="Where Do You Want To Go?" />
            <p:selectOneMenu id="city" value="#{standardpkbean.city}">
                <f:selectItem itemLabel="Select City" itemValue="" />
                <f:selectItems value="#{standardpkbean.cities}" />
                         </p:selectOneMenu>
        </h:panelGrid>
 <p:commandButton value="Serach" action="result" /> 
    
<p:galleria value="#{galleriabean.images}" var="image" panelWidth="500" panelHeight="313" showCaption="true">  
    <p:graphicImage value="/images/galleria/#{image}"  title="DREAM TARAVEL AGANCY!"/>  
</p:galleria> 
   
        </h:form>
    </p:layoutUnit>  
  
</p:layout>  
 
  </h:body>
</html>
         